﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ComparativoAprobReadForm.aspx.cs" Inherits="UILGestion.ObraAdmin.ComparativoAprobReadForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
 <link href="../../css/main.css" rel="stylesheet" type="text/css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    <style type="text/css">
        .style1
        {
            height: 17px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    
    <input id="internalID" type="hidden" runat="server" />
    <input id="idObra" type="hidden" runat="server" />
    
   

    
                   <table >
<tr>
<td width="200px"  align="center">
    <asp:LinkButton ID="aprobar" runat="server" Text="Aprobar"  OnClick="save"   OnClientClick="return confirm('Usted quiere Aprobar el Comparativo?')">  
    <img src="../../Images/img_status_running.png" alt=""  /><br/>Aprobar
    </asp:LinkButton>
</td>
<td width="100px" align="center">
    <asp:LinkButton ID="anterior" runat="server" Text="Anterior"  OnClick="save"   >
     <img src="../../Images/arrow_left.gif" alt=""  /><br/>Anterior
    </asp:LinkButton>
    </td>
<td  width="100px"  align="center">
    <asp:LinkButton ID="siguiente" runat="server" Text="Siguiente"  OnClick="save"   >
      <img src="../../images/arrow_right2.gif" alt=""  /><br/>Siguiente

    </asp:LinkButton>
    </td>

 
</tr>
</table>
               
    <hr />
   
  
  

    <table>
    <tr>
    <td>
   
    <table >
        <tr>
            <td width="150px" align="right" valign="top">
              
                Obra</td>
            <td width="250px" align="left" valign="top">
                <asp:Label ID="obraLabel" runat="server" Font-Bold="False" Font-Size="Small" 
                    ForeColor="Red"></asp:Label>
                </td>
       
            
        </tr>
        <tr>
            <td width="150px" align="right" valign="top">
              
                Numero Comparativo:</td>
            <td width="100px" align="left" valign="top">
                <asp:Label ID="numComparativo" runat="server" Text=""></asp:Label>
                </td>
       
        </tr>
        <tr>
            <td width="150px" align="right" valign="top">
                Fecha:</td>
            <td width="100px" align="left" valign="top">
                <asp:Label ID="fechaLabel" runat="server" Text=""></asp:Label>
                </td>
       
        </tr>
        <tr>
            <td width="150px" align="right" valign="top">
                Estructura Compra:</td>
            <td width="100px" align="left" valign="top">
                <asp:Label ID="estructuraCompraLabel" runat="server"></asp:Label>
            </td>
       
        </tr>
        <tr>
            <td width="150px" align="right" valign="top" class="style1">
                Estado 
                Actual:</td>
            <td width="100px" align="left" valign="top" class="style1">
                <asp:Label ID="estadoLabel" runat="server" Font-Bold="False" Font-Size="Small" 
                    ForeColor="Red"></asp:Label>
            </td>
       
        </tr>
        <tr>
            <td width="150px" align="right" valign="top">
                Revisado:</td>
            <td width="100px" align="left" valign="top">
                <asp:Label ID="RevisadoLabel" runat="server"></asp:Label>
            </td>
       
        </tr>
        <tr>
            <td width="150px" align="right" valign="top">
                Observaciones:</td>
            <td width="100px" align="left" valign="top">
                <asp:Label ID="observacionesLBL" runat="server"></asp:Label>
            </td>
       
        </tr>
        <tr>
            <td width="150px" align="right" valign="top">
                Recursos Comparativo:</td>
            <td width="100px" align="left" valign="top">
                &nbsp;</td>
       
        </tr>
    </table>
     </td>
   <td align="right" rowspan="6" valign="top">
    
    <asp:GridView ID="CabView" runat="server"
               SkinID="GridView"
                AutoGenerateColumns="False"
                ShowHeader="true"
                ShowHeaderWhenEmpty="true"
                OnRowCreated="proveedorGridView_RowCreated"
               >
               <Columns>
                <asp:BoundField DataField="descripcion" headerText="PROVEEDOR"  HeaderStyle-Width="300px" />
                <asp:BoundField DataField="totalMon" headerText="TOTAL" HeaderStyle-Width="150px" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right" />
                <asp:CheckBoxField DataField="bitSeleccion" ItemStyle-BackColor="#FFFFCC" />

                </Columns>
               

            </asp:GridView>
                </td>

    </tr>

    <tr>
    <td colspan="2">
                                
 <asp:GridView ID="itemComparativoGridView" runat="server"
               SkinID="GridView"
                AutoGenerateColumns="False"
                ShowHeaderWhenEmpty="True"
               >
               

                <Columns>
                <asp:BoundField DataField="codigo" headerText="CODIGO" />
                <asp:BoundField DataField="descripcion" headerText="DESCRIPCION" 
                        ItemStyle-Width="350px" >
<ItemStyle Width="350px"></ItemStyle>
                    </asp:BoundField>
                <asp:BoundField DataField="unidad" headerText="UNID." />
                <asp:BoundField DataField="cantidadOrig" headerText ="CANT. BASE" 
                        ItemStyle-BackColor="AntiqueWhite" HeaderStyle-Width="65px" 
                        ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N}" >
<HeaderStyle Width="65px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right" BackColor="AntiqueWhite"></ItemStyle>
                    </asp:BoundField>
                <asp:BoundField DataField="precioBaseMon" headerText="PRECIO BASE" 
                        ItemStyle-BackColor="AntiqueWhite" HeaderStyle-Width="75px" 
                        ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N}">
<HeaderStyle Width="75px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right" BackColor="AntiqueWhite"></ItemStyle>
                    </asp:BoundField>
                <asp:BoundField DataField="totalBaseMon" headerText ="TOTAL BASE"  
                        ItemStyle-BackColor="AntiqueWhite" HeaderStyle-Width="75px" 
                        ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N}">
                
<HeaderStyle Width="75px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right" BackColor="AntiqueWhite"></ItemStyle>
                    </asp:BoundField>
                
                <asp:BoundField DataField="cantidadBase" headerText ="CANTIDAD"  
                        HeaderStyle-Width="65px" ItemStyle-HorizontalAlign="Right" 
                        DataFormatString="{0:N}" >
<HeaderStyle Width="65px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right"></ItemStyle>
                    </asp:BoundField>
                <asp:BoundField DataField="precio1Mon" headerText="PRECIO 1"  
                        ItemStyle-BackColor="#FFFFCC" HeaderStyle-HorizontalAlign="Right" 
                        HeaderStyle-Width="75px" ItemStyle-HorizontalAlign="Right" 
                        DataFormatString="{0:N}">

                    </asp:BoundField>
                <asp:BoundField DataField="total1Mon" headerText="TOTAL 1"  
                        ItemStyle-BackColor="#FFFFCC" HeaderStyle-Width="75px" 
                        ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N}">
                



                    </asp:BoundField>
                
                <asp:BoundField DataField="precio2Mon" headerText="PRECIO 2"  
                        HeaderStyle-Width="75px" ItemStyle-HorizontalAlign="Right" 
                        DataFormatString="{0:N}">
<HeaderStyle Width="75px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right"></ItemStyle>
                    </asp:BoundField>
                <asp:BoundField DataField="total2Mon" headerText="TOTAL 2"  
                        HeaderStyle-Width="75px" ItemStyle-HorizontalAlign="Right" 
                        DataFormatString="{0:N}">
                
<HeaderStyle Width="75px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right"></ItemStyle>
                    </asp:BoundField>
                
                <asp:BoundField DataField="precio3Mon" headerText="PRECIO 3"  
                        ItemStyle-BackColor="#FFFFCC" HeaderStyle-Width="75px" 
                        ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N}">
<HeaderStyle Width="75px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right" BackColor="#FFFFCC"></ItemStyle>
                    </asp:BoundField>
                <asp:BoundField DataField="total3Mon" headerText="TOTAL 3"  
                        ItemStyle-BackColor="#FFFFCC" HeaderStyle-Width="75px" 
                        ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N}">




                                                                                          
<HeaderStyle Width="75px"></HeaderStyle>

<ItemStyle HorizontalAlign="Right" BackColor="#FFFFCC"></ItemStyle>
                    </asp:BoundField>




                                                                                          
                </Columns>
               

            </asp:GridView>
  
    </td>
    </tr>
    </table>
        
  
  </form>
   </body>
</html>
